package com.lc.job;

import com.lc.service.AppService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.annotation.Resource;

public class TwoMinuteJob {

    private final Logger logger = LoggerFactory.getLogger(getClass());

    @Resource
    private AppService appService;

    public void doJob() {
        logger.error("TwoMinuteJob start");
        try {

        } catch (Exception ex) {
            ex.printStackTrace();
            logger.error(ex.getMessage());
            logger.error("TwoMinuteJobEx:" + ex.toString());

        }


        logger.error("TwoMinuteJob end");
    }
}
